<?php
return array(
		'name'=>'MUIC AV Online',
		'defaultController'=>'site',
		'import'=>array(
				'application.models.*',
				'application.components.*',
				'application.extensions.smtpmail.PHPMailer'
		),

		'components'=>array(
				'urlManager'=>array(
						'urlFormat'=>'path'
				),
				'db'=>array(
						'class'=>'CDbConnection',
						'connectionString' => 'mysql:host=localhost;dbname=prdappne_mvonline',
// 						'connectionString' => 'mysql:host=localhost;dbname=av_itech',
						'emulatePrepare' => true,
//  						'username' => 'root',
//  						'password' => 'password',
						'username' => 'root',
						'password' => 'password',
// 						'username' => 'hui1usr',
// 						'password' => 'h1ip1i01',
						'charset' => 'utf8',
				),
				/*
				 * UNCOMMENT extension=php_openssl.dll
				 * */
				'Smtpmail'=>array(
						'class'=>'application.extensions.smtpmail.PHPMailer',
// 						'Host'=>"smtp.gmail.com",
						'Host'=>"sawebmail.mahidol.ac.th",						
						'Username'=>'chayanon.poo',
						'Password'=>'11111ccccc',						
// 						'Username'=>'pawitvaap@gmail.com',
// 						'Password'=>'pawitsaeeaung',
						'Mailer'=>'smtp',
// 						'Port'=>465,
						'Port'=>443,
						'SMTPAuth'=>true,
						'SMTPSecure'=>'ssl',
						'SMTPDebug'=>1
				),
			
					
				//
				// 		'db'=>array(
				// 			'class'=>'CDbConnection',
				// 			'connectionString' => 'mysql:host=localhost;dbname=private_avonline',
				// 			'emulatePrepare' => true,
				// 			'username' => 'private_avonline',
				// 			'password' => 'password',
				// 			'charset' => 'utf8',
				// 		)
		),


);
?>

<!-- 'username' => 'prdappne_user', -->
<!-- 'password' => 'mvonline', -->
